package com.wmh.baseservice.operationaid.pojo.vo.store;

import com.wmh.baseservice.operationaid.enums.ContrastRelation;
import com.wmh.baseservice.operationaid.enums.ContrastUnit;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 谢骏
 * @date 2023/7/28 15:28
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "淘宝店铺数据周期对比请求体封装")
public class TbStoreSameDateComparisonReqVO {

    @NotBlank(message = "未提交店铺名称")
    private String storeName;

    @NotBlank(message = "未提交周期开始时间")
    private String startDate;

    @NotBlank(message = "未提交周期结束时间")
    private String endDate;

    @NotNull(message = "未提交对比单位")
    private ContrastUnit unit;

    @NotNull(message = "提交对比关系")
    private ContrastRelation relation;
}
